package com.example.gmallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.utils.PageUtils;
import com.example.gmallproduct.VO.other.SpuSaveVo;
import com.example.gmallproduct.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author WDL
 * @email 2329156214@QQ.com
 * @date 2022-05-01 14:45:09
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProduct(SpuSaveVo spuInfoVo);

    PageUtils queryListByKey(Map<String, Object> params);


    /**
     * 商品上架
     *
     * @param spuId
     */
    void up(Long spuId);
}

